import http from "@/utils/request";

export default {

  async selectListOfFile(current, size, params) {
    return await http.get(`/file/selectFileList/${current}/${size}`, params);
  },
  async delete(id, fileUrl) {
    return await http.delete(`/file/delete?id=${id}&url=${fileUrl}`);
  }

}
